package com.AEWMS.Test;

import com.AEWMS.Dao.Semester;
import com.AEWMS.Service.SemesterService;
import com.alibaba.fastjson.JSON;

public class SemesterTest {
    public static void main(String[] args) {
        SemesterService ss = new SemesterService();
        Semester s = new Semester();
//        System.out.println(JSON.toJSONString(ss.findAllSemester()));
//        System.out.println(JSON.toJSONString(ss.findSemesterById("1")));
//        s.setSemesterId(3);
        s.setSemesterYear("2021");
        s.setSemesterType("春季学期");
        System.out.println(JSON.toJSONString(ss.insertSemester(s)));


    }
}

